package com.suixun.service;

import java.sql.SQLException;
import java.util.List;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import com.suixun.entity.StdPeopleinfo;
import com.suixun.entity.form.ParentForm;
import com.suixun.entity.mongodb.UserCache;
import com.suixun.entity.page.PageModel;
import com.suixun.vo.ParentVO;

/**
 * 
 * <p>
 * Title: ParentService
 * </p>
 * <p>
 * 功能描述:家长信息业务层接口
 * </p>
 * 
 * @author 陈显强
 * @date 2016年12月12日上午8:41:14
 * @version 1.0
 */
public interface ParentService {

	PageModel<?> queryList(ParentForm parent) throws SQLException;

	List<ParentVO> queryParents(ParentForm parent);

	String updateParentTel(ParentForm parent);

	int updateParentPassword(ParentForm parent);

	int readyUpdatePassword(ParentForm parent, int type);

	UserCache refreshUserCache(Integer peopleid, String telephone);

	UserCache refreshUserCache(Integer peopleid);

	Object registerAccount(String peopletel);

	String getGuardians(String mdtid);
	public Object correctPeopleTelBatch(HSSFWorkbook wb);
	
	String getGuardiansByObjectId(Integer objectId);
	
	StdPeopleinfo getPeopleinfo(String peopletel);
}
